﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="CustomerReg.aspx.cs" Inherits="CRM._Default" %>

<%@ Register assembly="AjaxControlToolkit" namespace="AjaxControlToolkit" tagprefix="cc1" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml" >
<head runat="server">
    <title>Untitled Page</title>
    <style type="text/css">
        .style1
        {
            width: 544px;
            border: 1px solid #669999;
            background-color: #FFFFFF;
            height: 442px;
        }
        .style2
        {            height: 6px;
        }
        .style3
        {
            width: 163px;
        }
        .style4
        {
            width: 367px;
        }
        .style5
        {
            width: 163px;
            height: 27px;
        }
        .style6
        {
            width: 367px;
            height: 27px;
        }
        .style7
        {
            width: 163px;
            height: 26px;
        }
        .style8
        {
            width: 367px;
            height: 26px;
        }
    </style>
</head>


<body>
    <p>
&nbsp;&nbsp;&nbsp;&nbsp;HOME&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; CUSTOMER&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &nbsp;&nbsp; 
        STAFF&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &nbsp; 
        PAYMENT&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &nbsp;&nbsp; INVOICE&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &nbsp; 
        APPOINMENT&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; SCHEDULE &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
    </p>
    <form id="form1" runat="server">
    
    <div style="height: 544px; width: 577px">
    
   
        &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<a href="CustomerReg.aspx">NEW 
        REGESTETION</a>&nbsp;&nbsp;<asp:ScriptManager ID="ScriptManager1" 
            runat="server">
        </asp:ScriptManager>
&nbsp;<table align="center" class="style1">
        
            <tr>
                <td class="style3">
                    &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Customer Name&nbsp;</td>
                <td class="style4">
                    <asp:TextBox ID="txtCustName" runat="server"></asp:TextBox>
                    <asp:RequiredFieldValidator ID="RequiredFieldValidator1" runat="server" 
                        ControlToValidate="txtCustName" ErrorMessage="plz enter Name"></asp:RequiredFieldValidator>
                </td>
            </tr>
            <tr>
                <td class="style3">
                    &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Company Name&nbsp;</td>
                <td class="style4">
                    <asp:TextBox ID="txtcmpname" runat="server"></asp:TextBox>
                    <asp:RequiredFieldValidator ID="RequiredFieldValidator2" runat="server" 
                        ControlToValidate="txtcmpname" ErrorMessage="plz enter compnay name"></asp:RequiredFieldValidator>
                </td>
            </tr>
            <tr>
                <td class="style3">
                    &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Company Address&nbsp;</td>
                <td class="style4">
                    <asp:TextBox ID="txtcmpadd" runat="server" ></asp:TextBox>
                    <asp:RequiredFieldValidator ID="RequiredFieldValidator3" runat="server" 
                        ControlToValidate="txtcmpadd" ErrorMessage="plz enter address"></asp:RequiredFieldValidator>
                </td>
            </tr>
            <tr>
                <td class="style3">
                    &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Service Type&nbsp;</td>
                <td class="style4">
                    <asp:DropDownList ID="txtservictyp" runat="server" Width="162px">
                        <asp:ListItem>Hardware</asp:ListItem>
                        <asp:ListItem>Software</asp:ListItem>
                    </asp:DropDownList>
                &nbsp;</td>
            </tr>
            <tr>
                <td class="style5">
                    &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Contact No.&nbsp;</td>
                <td class="style6">
                    <asp:TextBox ID="txtcontectno" runat="server"></asp:TextBox>
                    <cc1:FilteredTextBoxExtender ID="txtcontectno_FilteredTextBoxExtender" 
                        runat="server" FilterType="Numbers" TargetControlID="txtcontectno">
                    </cc1:FilteredTextBoxExtender>
                    <asp:RegularExpressionValidator ID="RegularExpressionValidator1" runat="server" 
                        ControlToValidate="txtcontectno" ErrorMessage="plz enter no." 
                        ValidationExpression="\d{10}"></asp:RegularExpressionValidator>
                </td>
            </tr>
            <tr>
                <td class="style3">
                    [credite card] CCType&nbsp;</td>
                <td class="style4">
                    <asp:DropDownList ID="txtcctyp" runat="server" Width="159px">
                        <asp:ListItem>MasterCard</asp:ListItem>
                        <asp:ListItem>AmericanExpress</asp:ListItem>
                        <asp:ListItem>VisaCard</asp:ListItem>
                    </asp:DropDownList>
                </td>
            </tr>
            <tr>
                <td class="style3">
                    [Expire]&nbsp;&nbsp;CCExpDate&nbsp;</td>
                <td class="style4">
                    <asp:TextBox ID="txtccexp" runat="server"></asp:TextBox>
                    <asp:CompareValidator ID="CompareValidator1" runat="server" 
                        ControlToValidate="txtccexp" ErrorMessage="plz enter date" 
                        Operator="DataTypeCheck" Type="Date"></asp:CompareValidator>
                </td>
            </tr>
            <tr>
                <td class="style7">
                    &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; CCNumber&nbsp;</td>
                <td class="style8">
                    <asp:TextBox ID="txtccnum" runat="server"></asp:TextBox>
                    <asp:RegularExpressionValidator ID="RegularExpressionValidator2" runat="server" 
                        ControlToValidate="txtccnum" ErrorMessage="plz enter card number" 
                        ValidationExpression="[0-9]*"></asp:RegularExpressionValidator>
                </td>
            </tr>
            <tr>
                <td class="style3">
                    &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; CCPincode&nbsp;</td>
                <td class="style4">
                    <asp:TextBox ID="txtccpin" runat="server"></asp:TextBox>
                    <asp:RegularExpressionValidator ID="RegularExpressionValidator3" runat="server" 
                        ControlToValidate="txtccpin" ErrorMessage="enter pin code" 
                        ValidationExpression="[0-9]*"></asp:RegularExpressionValidator>
                </td>
            </tr>
            <tr>
                <td class="style3">
                    &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Email_id&nbsp;</td>
                <td class="style4">
                    <asp:TextBox ID="txteid" runat="server"></asp:TextBox>
                    <asp:RegularExpressionValidator ID="RegularExpressionValidator4" runat="server" 
                        ControlToValidate="txteid" ErrorMessage="enter Email id" 
                        ValidationExpression="\w+([-+.']\w+)*@\w+([-.]\w+)*\.\w+([-.]\w+)*"></asp:RegularExpressionValidator>
                </td>
            </tr>
            <tr>
                <td class="style3">
                    &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; User Name&nbsp;</td>
                <td class="style4">
                    <asp:TextBox ID="txtusername" runat="server"></asp:TextBox>
                    <asp:RequiredFieldValidator ID="RequiredFieldValidator4" runat="server" 
                        ControlToValidate="txtusername" ErrorMessage="enter user anme"></asp:RequiredFieldValidator>
                </td>
            </tr>
            <tr>
                <td class="style3">
                    &nbsp;&nbsp;&nbsp; Security Question &nbsp;</td>
                <td class="style4">
                    <asp:DropDownList ID="DropDownList1" runat="server" AutoPostBack="True" 
                        Height="27px" Width="283px">
                        <asp:ListItem>what was your first phone number?</asp:ListItem>
                        <asp:ListItem>what is your school name?</asp:ListItem>
                    </asp:DropDownList>
                </td>
            </tr>
            <tr>
                <td class="style3">
                    &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Answer&nbsp;</td>
                <td class="style4">
                    <asp:TextBox ID="TextBox1" runat="server" Height="23px" Width="242px"></asp:TextBox>
                    <asp:RequiredFieldValidator ID="RequiredFieldValidator5" runat="server" 
                        ControlToValidate="TextBox1" ErrorMessage="Enter correct ans."></asp:RequiredFieldValidator>
                </td>
            </tr>
            <tr>
                <td class="style3">
                    &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Password&nbsp;</td>
                <td class="style4">
                    <asp:TextBox ID="txtpaswd" runat="server" TextMode="Password"></asp:TextBox>
                    <cc1:PasswordStrength ID="txtpaswd_PasswordStrength" runat="server" 
                        TargetControlID="txtpaswd">
                    </cc1:PasswordStrength>
&nbsp;<asp:RequiredFieldValidator ID="RequiredFieldValidator6" runat="server" 
                        ControlToValidate="txtpaswd" ErrorMessage="Password"></asp:RequiredFieldValidator>
                </td>
            </tr>
            <tr>
                <td class="style2" colspan="2">
                    &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<asp:Button 
                        ID="BTBACK" runat="server" 
                        Text="BACK" Width="60px" PostBackUrl="~/Index.aspx" />
                    &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
                    <asp:Button ID="Button1" runat="server" Text="Save" onclick="Button1_Click" 
                        Height="30px" Width="79px" />
                    &nbsp;</td>
            </tr>
           
        </table>
       
    </div>
    
    </form>
</body>
</html>
